-
Notifications
You must be signed in to change notification settings - Fork 0
/
Types[T1, T2].cs
35 lines (33 loc) · 987 Bytes
/
Types[T1, T2].cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
using System;
using System.Collections.ObjectModel;
using Platform.Collections.Lists;
#pragma warning disable CS1591 // Missing XML comment for publicly visible type or member
#pragma warning disable CA1819 // Properties should not return arrays
namespace Platform.Reflection
{
/// <summary>
/// <para>
/// Represents the types.
/// </para>
/// <para></para>
/// </summary>
/// <seealso cref="Types"/>
public class Types<T1, T2> : Types
{
/// <summary>
/// <para>
/// Gets the collection value.
/// </para>
/// <para></para>
/// </summary>
public new static ReadOnlyCollection<Type> Collection { get; } = new Types<T1, T2>().ToReadOnlyCollection();
/// <summary>
/// <para>
/// Gets the array value.
/// </para>
/// <para></para>
/// </summary>
public new static Type[] Array => Collection.ToArray();
private Types() { }
}
}